package com.ppt.android.common.bean

import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 *
 * @author ZouJiaCai
 * @since 2023/4/21 16:42
 */
data class PayTypeBean (
    @SerializedName("icon")
    val iconRes: Any? = null,
    @SerializedName("payName")
    var name: String = "",
    // 支付成功后 tranId不为空
    var tranId: Int? = null,
    // 支付状态 成功 = pay_success ; 失败 = pay_failure ; 用户取消 = pay_user_cancel
    var status: String? = null,
    //
    var payType: Int? = null,

    var scope: String = ""
): Selection(), Serializable {

    fun getType(): Int? {
        return payType
    }
}